@extends('home.layouts.app')

@section('title','登录')

@push('css')
<!-- 页面独立的 -->
<link rel="stylesheet/less" href="{{URL::asset('assets/css/UserLogin.less')}}" />
@endpush

@section('content')
<!-- 用户信息 -->
<div class="user">
    <div class="avatar wow fadeInUp">
        <img src="{{URL::asset('assets/images/avatar.png')}}" />
    </div>

    <div class="notice wow fadeInUp" data-wow-delay="100ms">请填写已有账号或新注册账号</div>
</div>

<form class="login wow fadeInUp" data-wow-delay="200ms" action="{{url('home/user/loginform')}}" method="post">
    @csrf
    <div class="form-group">
        <label for="email">邮箱</label>
        <input type="email" class="form-control" name="email" id="email" placeholder="请输入邮箱" required />
    </div>

    <div class="form-group">
        <label for="password">密码</label>
        <input type="password" class="form-control" name="password" id="password" placeholder="请输入密码" required />
    </div>
    
    <div class="action">
        <button class="btn">登录</button>
    </div>

    <div class="action">
        <a href="{{url('home/user/register')}}" class="btn">去注册</a>
    </div>
</form>
@endsection